#!/usr/local/python/bin/python
# coding=utf-8
__author__ = 'cz'

import json


class FileMetaInfo():
     def __init__(self, tab_name="", file_name="", data_line_nums=""):
            self.tab_name = tab_name
            self.file_name = file_name
            self.data_line_nums = data_line_nums

     def get_tab_name(self):
         """ 获取表名称 """
         return self.tab_name

     def set_tab_name(self, tab_name):
         """ 设置表名称 """
         self.tab_name = tab_name

     def get_file_name(self):
         """ 获取文件名 """
         return self.file_name

     def set_file_name(self, file_name):
         """ 设置文件名 """
         self.file_name = file_name

     def get_data_line_nums(self):
         """ 获取数据行数 """
         return self.data_line_nums

     def set_data_line_nums(self, data_line_nums):
         """ 设置数据行数 """
         self.data_line_nums = data_line_nums

     def __str__(self):
        return json.dumps(self.__dict__, ensure_ascii=False, indent=4)


